#version 330 core
out vec4 FragColor;

in vec2 TexCoord;

// texture samplers
uniform sampler2D texture1;
uniform sampler2D texture2;

void main()
{
    //在两个纹理之间进行线性插值(80% container, 20% awesomeface)
    FragColor=mix(texture(texture1,TexCoord),texture(texture2,TexCoord),.2);
}